package com.example.testcentral.designpattern.ObserverPattern

/**
 * File Name: Subject
 * Author: zhangzhenzhong
 * Created on: 2024/7/5
 * Description:
 */
interface Subject {
    fun registerObserver(value:Observer)
    fun removeObserver(value:Observer)
    fun notifyObservers();
}